<?php
/**
 * @package    [PACKAGE_NAME]
 *
 * @author     [AUTHOR] <[AUTHOR_EMAIL]>
 * @copyright  [COPYRIGHT]
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 * @link       [AUTHOR_URL]
 */

use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Layout\FileLayout;

defined('_JEXEC') or die;

HTMLHelper::_('script', 'com_wxminipro/script.js', array('version' => 'auto', 'relative' => true));
HTMLHelper::_('stylesheet', 'com_wxminipro/style.css', array('version' => 'auto', 'relative' => true));

// $layout = new FileLayout('wxminipro.page');
// $data = array();
// $data['text'] = 'Hello Joomla!';
// echo $layout->render($data);
?>

<form action="./" method="post" enctype="multipart/form-data">
    <label for="file">文件名：</label>
    <input type="file" name="Filedata" id="Filedata"><br>
    <input type="hidden" name="option" value="com_wxminipro" />
    <input type="hidden" name="task" value="wxminipro.upimg" />
    <input type="submit" name="submit" value="提交">
</form>
